package com.axonactive.yolo.util;

public class CONSTANTS {
	public static final String PRODUCT_NAME = "Yolo Flight";

	public static final String SKYSCANNER = "//root//skyscanner.jar";
	public static final String KAYAK = "//root//kayak.jar";
	public static final String TRIPADVISOR = "//root//tripadvisor.jar";
	public static final String MOCKDB = "//root//MockDB.jar";
	public static final String SKYSCANNER_WIN = "C:\\Users\\pqtrung\\skyscanner.jar";
	public static final String KAYAK_WIN = "C:\\Users\\pqtrung\\kayak.jar";
	public static final String TRIPADVISOR_WIN = "C:\\Users\\pqtrung\\tripadvisor.jar";

	public static final String USD = "USD";
	public static final String VND = "VND";
	public static final String EURO = "EUR";
	public static final String CABIN_ECONOMY_0 = "0";
	public static final String CABIN_ALL_2 = "2";
	public static final String CABIN_BUSSINESS_1 = "1";
	public static final String CABIN_ECONOMY_STRING = "Economy";
	public static final String CABIN_ALL_STRING = "All";
	public static final String CABIN_BUSSINESS_STRING = "Business";
	public static final String ONE_WAY = "oneWay";
	public static final String ROUND_TRIP = "roundTrip";
	public static final String DELIMITER = "$?$";

	public static final String SEARCH_DELIMITER = "#$@#";
	public static final String TOKEN_DELIMITER = ";";

	// filter
	public static final String FILTER_NO_STOP = "0";
	public static final String FILTER_ONE_STOP = "1";
	public static final String FILTER_MIN = "0";
	public static final String FILTER_MAX = "287";
	// Like and Diskile
	public static final String LIKE = "like";
	public static final String DISLIKE = "dislike";
	// accept the flight has number of stops equal or greater then 2
	public static final String FILTER_OVER_ONE_STOP = "2";

	public static final String DATE_TIME_FORMAT = "dd/MM/yyyy HH:mm";
	public static final String DATE_TIME_FORMAT_DDMMYYYY = "yyyy/MM/dd";

	public static final String LINK_INCORRECT_OR_EXPIRED = "Oops! This link is incorrect or expired";
	public static final String PARAMETER_INCORRECT = "Oops! xxx is incorrect!";
	public static final String NEWPASS_SAME_CURPASS = "Oops! New password is same with current password!";
	public static final String CONFIRMPASS_NOT_MATCH = "Oops! Confirm password is not match!";
	public static final String PASSWORD_FORMAT = "Password must be at least 6 characters and can include space character.";
	public static final String PARAMETER_INCORRECT_FORMAT = "Oops! xxx is incorrect format!";
	public static final String EMAIL_NOT_EXIST = "Oops! This email not exist in any account";
	public static final String EMAIL_HAS_SENT = "An email has sent to this email. Please check and follow that to xxx";
	public static final String EMAIL_HAS_SENT_ADD = "An email has sent to xxx. Please check and follow that to active.";
	public static final String EMAIL_HASNT_SENT = "Oops! We can't send the email now. Try a again later!";
	public static final String EMAIL_ALREADY_EXIST = "Oops! This email already exist.";
	public static final String EMAIL_ACTIVATED = "Congratulation! This email xxx has been activated successfully and already for login.";
	public static final String EMAIL_WRONG = "Oops ! The email xxx is not valid.";
	public static final String USER_NOT_FOUND = "Oops! User not found!";
	public static final String REQUEST_NOT_ACCEPT = "Oops! Reset password request couldn't be accpeted!";
	public static final String REQUEST_ACCEPTED = "Your Password has been changed! You can login with your new password";
	public static final String WRONG_EMAIL_OR_PASSWORD = "Oops! Wrong email or password.";
	public static final String DATA_LENGHT_TOO_LONG = "Oops! The length of xxx is too long";
	public static final String PARAMETER_WAS_CREATED = "xxx was created successfully!";
	public static final String PARAMETER_WASNT_CREATED = "Oops! xxx wasn't created!";
	public static final String PARAMETER_WAS_UPDATED = "xxx was updated successfully!";
	public static final String PARAMETER_WASNT_UPDATED = "Oops! xxx wasn't updated!";
	public static final String FIRST_NAME_SPECIAL_CHARACTER = "Oops ! The first name contains special character.";
	public static final String LAST_NAME_SPECIAL_CHARACTER = "Oops ! The last name contains special character.";

	public static final String DIDNT_ACTIVE_EMAIL = "This email hasn't activated yet. Please check your email account and follow activation email to do this.";
	public static final String DIDNT_RECEIVE_EMAIL = "If you didn't received or lost activation email, you can request again by click button bellow.";
	
//	public static final long MAX_RESET_EXPIRED_TIME=86400; //24h

	public static final long MAX_PASSWORD_RESET_EXPIRED_TIME = 180;
	public static final long MAX_ACCOUNT_ACTIVATION_EXPIRED_TIME = 180;
	public static final int DETECT_NON_CHANGE = 0x0000;
	public static final int DETECT_CHANGE_PRICE = 0x0010;
	public static final int DETECT_CHANGE_SCHEDULE = 0x0100;
	public static final int DETECT_CHANGE_CANCELLED = 0x1000;

	public static final boolean FLIGHT_AVAILABLE = true;

	public static final boolean FLIGHT_UNAVAILABLE = false;

	public static final int HOUR = 12;
	public static final int MINUTE = 5;

	public static final String DEFAULT_CURRENCY = "USD";
	
	public static final long UNACTIVATED_EMAIL_LIFECYCLE = 120 ;

	public static final double DEFAULT_MAX_PRICE = -1.0;

	public static final int DEFAULT_FLEXIBLEDAYS = 0;
	
	public static final String ALREADYSUBSCRIBED = "alreadySubscribed";
	public static final String NOTSUBSCRIBED = "notSubscribed";
	
	// timestamp
	public static final String TASK = "task";
	public static final String SUBSCRIBE = "subscribe";
	public static final String NOTOFICATION = "notification";
	
	public static final int TASK_NUM_RESULTS = 5;
}

